{#
    Simple aggregator list with current entry detection
#}

{% if items %}
    <div class="entries">
        <ul>
            {% for type,item in items %}
                <li>
                    <a href="{{ item.url }}">{{ item.name }}</a>
                    {% if show_intro %}
                        <div class="intro">
                            {{ item.content|striptags|truncate(intro_length) }}
                        </div>
                    {% endif %}
                </li>
            {% endfor %}
        </ul>
    </div>
{% endif %}